<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录——校园技能互助平台</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            overflow: hidden;
            background: linear-gradient(to bottom, #f1f4f9, #dff1ff);
        }

        #app {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .color {
            position: absolute;
            filter: blur(150px);
        }

        .color:nth-child(1) {
            top: -350px;
            width: 600px;
            height: 600px;
            background: #7d9cff; 
        }

        .color:nth-child(2) {
            bottom: -150px;
            left: 100px;
            width: 500px;
            height: 500px;
            background: #ff9d9d; 
        }

        .color:nth-child(3) {
            bottom: 50px;
            right: 100px;
            width: 500px;
            height: 500px;
            background: #66e0ff; 
        }

        .box {
            position: relative;
        }

        .square {
            position: absolute;
            backdrop-filter: blur(5px);
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            animation: animate 10s linear infinite;
            animation-delay: calc(-1s * var(--i));
        }

        @keyframes animate {
            0%, 100% {
                transform: translateY(-40px);
            }
            50% {
                transform: translateY(40px);
            }
        }

        .square:nth-child(1) {
            top: -50px;
            right: -60px;
            width: 100px;
            height: 100px;
        }

        .square:nth-child(2) {
            top: 150px;
            left: -100px;
            width: 120px;
            height: 120px;
            z-index: 2;
        }

        .square:nth-child(3) {
            bottom: 50px;
            right: -60px;
            width: 80px;
            height: 80px;
            z-index: 2;
        }

        .square:nth-child(4) {
            bottom: -80px;
            left: 100px;
            width: 50px;
            height: 50px;
        }

        .square:nth-child(5) {
            top: -90px;
            left: 140px;
            width: 60px;
            height: 60px;
        }

        .container {
            position: relative;
            width: 400px;
            min-height: 400px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .form {
            position: relative;
            height: 100%;
            width: 100%;
            padding: 40px;
        }

        .form h2 {
            position: relative;
            color: #333;
            font-size: 24px;
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: 40px;
        }

        .form h2::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -10px;
            width: 80px;
            height: 4px;
            background: #333;
        }

        .inputBox {
            width: 100%;
            margin-top: 20px;
        }

        .inputBox input {
            width: 100%;
            background: rgba(255, 255, 255, 0.7);
            border: none;
            outline: none;
            padding: 10px 20px;
            border-radius: 35px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 16px;
            letter-spacing: 1px;
            color: #333;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .inputBox input::placeholder {
            color: #666;
        }

        .inputBox input[type="submit"] {
            background: #fff;
            color: #666;
            max-width: 100px;
            cursor: pointer;
            margin-bottom: 20px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .inputBox input[type="submit"]:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            background: #7d9cff; /* 使用更浅的蓝色 */
            color: white;
        }

        .forget {
            margin-top: 5px;
            color: #666; 
        }

        .forget a {
            color: #444; 
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .forget a:hover {
            text-decoration: underline;
            color: #7d9cff;
        }

        .error-message {
            color: #ff9d9d; 
            font-size: 14px;
            margin-top: 5px;
            margin-left: 20px;
        }

        .success-message {
            color: #66e0ff; 
            font-size: 14px;
            margin-top: 10px;
            text-align: center;
            font-weight: 500;
        }

        .remember {
            display: flex;
            align-items: center;
            margin-top: 10px;
            color: #666; 
        }

        .remember input {
            margin-right: 8px;
        }
    </style>
</head>
<body>
    <div id="app">
        <login-form></login-form>
    </div>

    <script src="js/login-component.js"> </script>
</body>
</html>